<template>
    <el-table :data="fesList">
        <el-table-column prop="name" label="name" width="100"></el-table-column>
        <el-table-column prop="day" label="日期"></el-table-column>
    </el-table>

</template>

<script setup>
import { ref } from 'vue';
import { getFest } from '@/api/getFest.js';
const fesList = ref([]);


fn();
async function fn() {
    let result = await getFest;
    fesList.value = result.data.data
    console.log(fesList.value);
}
</script>